#include <bits/stdc++.h>
using namespace std;
const int maxn=1e5+10;
int main()
{
	int n;
	cin >> n;
	long double a[maxn];
	long double sum=0;
	for(int i=1;i<=n;i++)
	{
		cin >> a[i];
		sum=sum+a[i];
	}
	cout << fixed << setprecision(6) << sum*2/(n+1) << " "; 
	for(int i=2;i<=n;i++)
	{
		cout << fixed << setprecision(6) << sum/(n+1) << " "; 
	}
	return 0;
}
